<!-- 行政处罚陈述（申辩）笔录 -->
<title>行政处罚陈述（申辩）笔录</title>
<div class="row">
	<div class="col-xs-12 category_add">
	<?php
	$contentQ = explode ( '★', $model ['contentsequence'] );
	?>
		<span>武汉市园林和林业局行政处罚陈述（申辩）书</span>
		<div class="word_bianh text-right"></div>
		<div class="word_text">
		<div>
			陈述（申辩）时间：<input type="text" id="hx_txt_A1" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
			value="<?=$contentQ[0]?>">
			至<input type="text" id="hx_txt_A2" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
			 value="<?=$contentQ[1]?>">
		</div>
		<div>
			陈述（申辩）地点：<input type="text" id="hx_txt_A3" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px" 
			 value="<?=$contentQ[2]?>">
		</div>
		<div>
			陈述（申辩）人：<input type="text" id="hx_txt_A4" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
			value="<?=$contentQ[3]?>">
			身份证号：<input type="text" id="hx_txt_A5" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
			value="<?=$contentQ[4]?>">
		</div>
		<div>
			工作单位：<input type="text" id="hx_txt_A6" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
			value="<?=$contentQ[5]?>"> 
			电话：<input type="text" id="hx_txt_A7" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
			value="<?=$contentQ[6]?>">
		</div>
		<div>
			住址：<input type="text" id="hx_txt_A8" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
			value="<?=$contentQ[7]?>"> 
			邮编：<input type="text" id="hx_txt_A9" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
			value="<?=$contentQ[8]?>">
		</div>
		<div>
			与本案关系：<input type="text" id="hx_txt_A10" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
			 value="<?=$contentQ[9]?>">
		</div>
		<div>

			记录人：<input type="text" id="hx_txt_A11" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
			 value="<?=$contentQ[10]?>">
			工作单位：<input type="text" id="hx_txt_A12" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
			value="<?=$contentQ[11]?>">
		</div>
		<div>
			陈述（申辩）的请求：<input type="text" id="hx_txt_A13" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
				value="<?=$contentQ[12]?>">
		</div>
		<div>
			陈述（申辩）的事实和理由：<input type="text" id="hx_txt_A14"style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
				value="<?=$contentQ[13]?>">
		</div>
		<div>
			陈述（申辩）人：<input type="text" id="hx_txt_A15" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
			value="<?=$contentQ[14]?>">
		</div>
		<div>
			记录人：<input type="text" id="hx_txt_A16" style="border: 0px; border-bottom: 1px solid #333; padding: 0 5px"
			 value="<?=$contentQ[15]?>">
		</div>
		<div class="space-4"></div>
		<div class="clearfix form-actions">
			<div class="col-md-offset-3 col-md-9">
				<button class="btn btn-info save" type="button" id="btnSubmit">
					<i class="ace-icon fa fa-check bigger-110"></i>增加
				</button>
				&nbsp; &nbsp;
				<button class="btn" type="button">
					<i class="ace-icon glyphicon glyphicon-remove bigger-110"></i>取消
				</button>
			</div>
		</div>
	</div>
</div>
</div>
<script type="text/javascript">
var scripts = [null,  null];
$('.page-content-area').ace_ajax('loadScripts', scripts, function() {
	var $scope = $(".category_add");
	$("#btnSubmit").click(function(){							
		var A1 = $("#hx_txt_A1",$scope).val();
		var A2 = $("#hx_txt_A2",$scope).val();
		var A3 = $("#hx_txt_A3",$scope).val();
		var A4 = $("#hx_txt_A4",$scope).val();
		var A5 = $("#hx_txt_A5",$scope).val();
		var A6 = $("#hx_txt_A6",$scope).val();
		var A7 = $("#hx_txt_A7",$scope).val();
		var A8 = $("#hx_txt_A8",$scope).val();
		var A9 = $("#hx_txt_A9",$scope).val();
		var A10 = $("#hx_txt_A10",$scope).val();
		var A11 = $("#hx_txt_A11",$scope).val();
		var A12 = $("#hx_txt_A12",$scope).val();
		var A13 = $("#hx_txt_A13",$scope).val();
		var A14 = $("#hx_txt_A14",$scope).val();
		var A15 = $("#hx_txt_A15",$scope).val();
		var A16 = $("#hx_txt_A16",$scope).val();
		var contentsequence = A1+"★"+A2+"★"+A3+"★"+A4+"★"+A5+"★"+A6+"★"+A7+"★"+A8+"★"+A9+"★"+A10+"★"+A11+"★"+A12+"★"+A13+"★"+A14+"★"+A15+"★"+A16;
		var category =6;
		var be_punished_man= A1;
		
		$.post('/administrative/Ajax_administrative_add',{
			'id':'<?=$model['id']?>',
			'master_id':'<?=$master_id?>',
			'contentsequence':contentsequence,
			'category':category,
			'be_punished_man':be_punished_man
			},function(data){
				if (200 === data.status) {
					message_box.show(data.data);
					gDialog.fClose();
					location.href="/#administrative/list?id=<?=$master_id?>"
					
				} 
			 
		},'json');
	});			
})
</script>